package android.slc.appbase.ui.utils.magicindicator;

import android.content.Context;

import net.lucode.hackware.magicindicator.buildins.commonnavigator.titles.SimplePagerTitleView;

/**
 * @Description:
 * @Author: sunlunchang
 * @CreateDate: 2022/10/21 下午 2:37
 */
public class SimpleSelectPagerTitleView extends SimplePagerTitleView {
    public SimpleSelectPagerTitleView(Context context) {
        super(context);
    }

    @Override
    public void onSelected(int index, int totalCount) {
       super.onSelected(index,totalCount);
       setSelected(true);
    }

    @Override
    public void onDeselected(int index, int totalCount) {
        super.onDeselected(index,totalCount);
        setSelected(false);
    }

}
